{% extends "learning_logs/base.html" %}

{% block content %}
 <p>Topics</p>
    <ul>
        {% for topic in topics %}
            <a href="{% url 'learning_logs:topic' topic.id %}">{{ topic }}</a>
        {% empty %}
        <li>No topics have been added yet.</li>
        {% endfor %}
    </ul>
{% endblock content %}